package com.example.demo.dao;

import com.example.demo.model.Ingredients;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface IngredientsDao {
    int deleteByPrimaryKey(String name);

    int insert(Ingredients record);

    int insertSelective(Ingredients record);

    Ingredients findByName(String ingredientName);
}